package com.tju.Model;

import lombok.ToString;

@ToString
public class Resources {
    private Integer id;

    private String memo;

    private String url;

    private Integer priority;

    private Integer type;

    private String name;

    public Resources(Integer id, String memo, String url, Integer priority, Integer type, String name) {
        this.id = id;
        this.memo = memo;
        this.url = url;
        this.priority = priority;
        this.type = type;
        this.name = name;
    }

    public Resources() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }
}